home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
srscl.z
/
srscl
Wrap
Text File
|
1996-03-14
|
1KB
|
67 lines
SSSSRRRRSSSSCCCCLLLL((((3333FFFF)))) SSSSRRRRSSSSCCCCLLLL((((3333FFFF))))
NNNNAAAAMMMMEEEE
SRSCL - multiplie an n-element real vector x by the real scalar 1/a
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
SUBROUTINE SRSCL( N, SA, SX, INCX )
INTEGER INCX, N
REAL SA
REAL SX( * )
PPPPUUUURRRRPPPPOOOOSSSSEEEE
SRSCL multiplies an n-element real vector x by the real scalar 1/a. This
is done without overflow or underflow as long as
the final result x/a does not overflow or underflow.
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
N (input) INTEGER
The number of components of the vector x.
SA (input) REAL
The scalar a which is used to divide each component of x. SA
must be >= 0, or the subroutine will divide by zero.
SX (input/output) REAL array, dimension
(1+(N-1)*abs(INCX)) The n-element vector x.
INCX (input) INTEGER
The increment between successive values of the vector SX. > 0:
SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n
PPPPaaaaggggeeee 1111